import React from 'react';
import ReactDOM from 'react-dom';


// 导入Provider组件
import { Provider } from 'react-redux';

// 导入store对象
import { store } from './redux/store';

// 此处直接打印store对象会报错
// console.log(store);

import './index.css';

// 导入评论组件Comments
import CommentsContainer from './containers/CommentsContainer';

ReactDOM.render(<Provider store={store}><CommentsContainer/></Provider>, document.getElementById('root'));


